//
//  RZIMConfig.m
//  RZIM
//
//  Created by reyzhang on 2021/7/26.
//

#import "RZIMConfig.h"

@implementation RZIMConfig

static RZIMConfig *_instance;
static dispatch_once_t onceToken;
+ (instancetype)sharedConfig {
    dispatch_once(&onceToken, ^{
        _instance = [[RZIMConfig alloc] init];
    });
    return _instance;
}

- (instancetype)init {
    self = [super init];
    if(self) {
        self.ui = [[RZIMUIConfig alloc] init];
        self.font = [[RZIMFontConfig alloc] init];
    }
    return self;
}

@end
